PKG_NAME=lvgl
PKG_URL=https://github.com/littlevgl/lvgl
PKG_VERSION=2ead4959038fcfd01eaee0f124b98a8ae3efec21 # v6.1.2
PKG_LICENSE=MIT

include $(RIOTBASE)/pkg/pkg.mk

LVGL_MODULES =  \
    lvgl_core   \
    lvgl_draw   \
    lvgl_font   \
    lvgl_hal    \
    lvgl_misc   \
    lvgl_objx   \
    lvgl_themes \
    #

.PHONY: lvgl_%

all: $(LVGL_MODULES)

lvgl_%:
	"$(MAKE)" -C $(PKG_SOURCE_DIR)/src/lv_$* -f $(CURDIR)/Makefile.lvgl_module MODULE=$@
